package tx.bjdacp.model;

import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.util.*;

import javacommon.base.*;
import javacommon.util.*;

import cn.org.rapid_framework.util.*;
import cn.org.rapid_framework.web.util.*;
import cn.org.rapid_framework.page.*;
import cn.org.rapid_framework.page.impl.*;

import tx.bjdacp.model.*;
import tx.bjdacp.dao.*;
import tx.bjdacp.service.*;
import tx.bjdacp.vo.query.*;


@Entity
@Table(name = "bjdacp_drug_sell_unit")
public class DrugSellUnit extends BaseEntity implements java.io.Serializable{
	private static final long serialVersionUID = 5454155825314635342L;

	//alias
	public static final String TABLE_ALIAS = "药品经营企业";
	public static final String ALIAS_DRUG_SELL_UNIT_ID = "drugSellUnitId";
	public static final String ALIAS_DRUG_SELL_UNIT_PREPARE_ID = "drugSellUnitPrepareId";
	public static final String ALIAS_ZONE_ID = "zoneId";
	public static final String ALIAS_UNIT_NAME = "企业名称";
	public static final String ALIAS_REGIST_ADDRESS = "注册地址";
	public static final String ALIAS_ARTIFICIAL_PERSON = "法定代表人";
	public static final String ALIAS_UNIT_PRINCIPAL = "企业负责人";
	public static final String ALIAS_QUALITY_PRINCIPAL = "质量负责人";
	public static final String ALIAS_APOTHECARY = "药师";
	public static final String ALIAS_SELL_MODE = "经营方式";
	public static final String ALIAS_SELL_AREA = "经营范围";
	public static final String ALIAS_STORAGE_ADDRESS = "仓库地址";
	public static final String ALIAS_LICENCE_CODE = "许可证号";
	public static final String ALIAS_UNIT_FOUND_DATE = "企业成立日期";
	public static final String ALIAS_LICENCE_GIVE_DATE = "许可证发证日期";
	public static final String ALIAS_LICENCE_EXPIRY_DATE = "许可证有效日期";
	public static final String ALIAS_GSP_CODE = "认证证书号";
	public static final String ALIAS_GSP_GIVE_DATE = "认证证书发证日期";
	public static final String ALIAS_GSP_EXPIRY_DATE = "认证证书有效期";
	public static final String ALIAS_IS_LOGOUT = "是否注销";
	public static final String ALIAS_LOGOUT_DATE = "注销日期";
	public static final String ALIAS_MOBEL_PHONE = "联系方式手机";
	public static final String ALIAS_PHONE = "联系方式座机";
	public static final String ALIAS_IS_TOUR_DRUGSTORE = "是否旅游药店";
	public static final String ALIAS_IS_SELL_CHINESE_MEDICINE = "是否中药饮片经营企业";
	public static final String ALIAS_IS_OTCUNIT = "是否OTC企业";
	public static final String ALIAS_IS_RESEND_LICENSE = "是否已换证";
	public static final String ALIAS_IS_STOP = "是否停业";
	public static final String ALIAS_APOTHECARY2 = "药师2";
	public static final String ALIAS_APOTHECARY_CHINA = "中药师";
	public static final String ALIAS_FILE_NUMBER = "档案号";

	//date formats
	public static final String FORMAT_UNIT_FOUND_DATE = DATE_FORMAT;
	public static final String FORMAT_LICENCE_GIVE_DATE = DATE_FORMAT;
	public static final String FORMAT_LICENCE_EXPIRY_DATE = DATE_FORMAT;
	public static final String FORMAT_GSP_GIVE_DATE = DATE_FORMAT;
	public static final String FORMAT_GSP_EXPIRY_DATE = DATE_FORMAT;


	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
    /**
     * drugSellUnitId       db_column: drug_sell_unit_id
     */

	private java.lang.Integer drugSellUnitId;
    /**
     * drugSellUnitPrepareId       db_column: drug_sell_unit_prepare_id
     */

	private java.lang.Integer drugSellUnitPrepareId;
    /**
     * zoneId       db_column: zone_id
     */

	private java.lang.Integer zoneId;
    /**
     * 企业名称       db_column: unit_name
     */
	@Length(max=200)
	private java.lang.String unitName;
    /**
     * 注册地址       db_column: regist_address
     */
	@Length(max=200)
	private java.lang.String registAddress;
    /**
     * 法定代表人       db_column: artificial_person
     */
	@Length(max=200)
	private java.lang.String artificialPerson;
    /**
     * 企业负责人       db_column: unit_principal
     */
	@Length(max=200)
	private java.lang.String unitPrincipal;
    /**
     * 质量负责人       db_column: quality_principal
     */
	@Length(max=200)
	private java.lang.String qualityPrincipal;
    /**
     * 药师       db_column: apothecary
     */
	@Length(max=200)
	private java.lang.String apothecary;
    /**
     * 经营方式       db_column: sell_mode
     */
	@Length(max=200)
	private java.lang.String sellMode;
    /**
     * 经营范围       db_column: sell_area
     */
	@Length(max=500)
	private java.lang.String sellArea;
    /**
     * 仓库地址       db_column: storage_address
     */
	@Length(max=200)
	private java.lang.String storageAddress;
    /**
     * 许可证号       db_column: licence_code
     */
	@Length(max=200)
	private java.lang.String licenceCode;
    /**
     * 企业成立日期       db_column: unit_found_date
     */

	private java.util.Date unitFoundDate;
    /**
     * 许可证发证日期       db_column: licence_give_date
     */

	private java.util.Date licenceGiveDate;
    /**
     * 许可证有效日期       db_column: licence_expiry_date
     */

	private java.util.Date licenceExpiryDate;
    /**
     * 认证证书号       db_column: gsp_code
     */
	@Length(max=200)
	private java.lang.String gspCode;
    /**
     * 认证证书发证日期       db_column: gsp_give_date
     */

	private java.util.Date gspGiveDate;
    /**
     * 认证证书有效期       db_column: gsp_expiry_date
     */

	private java.util.Date gspExpiryDate;
    /**
     * 是否注销       db_column: is_logout
     */

	private java.lang.String isLogout;
    /**
     * 注销日期       db_column: logout_date
     */
	@Length(max=200)
	private java.lang.String logoutDate;
    /**
     * 联系方式手机       db_column: mobel_phone
     */
	@Length(max=200)
	private java.lang.String mobelPhone;
    /**
     * 联系方式座机       db_column: phone
     */
	@Length(max=200)
	private java.lang.String phone;
    /**
     * 是否旅游药店       db_column: is_tour_drugstore
     */

	private java.lang.Integer isTourDrugstore;
    /**
     * 是否中药饮片经营企业       db_column: is_sell_chinese_medicine
     */

	private java.lang.Integer isSellChineseMedicine;
    /**
     * 是否OTC企业       db_column: is_OTC_unit
     */

	private java.lang.Integer isOtcunit;
    /**
     * 是否已换证       db_column: is_resend_license
     */

	private java.lang.Integer isResendLicense;
    /**
     * 是否停业       db_column: is_stop
     */

	private java.lang.Integer isStop;
	 /**
     * apothecary2       db_column: apothecary2
     */
	@Length(max=200)
	private java.lang.String apothecary2;
    /**
     * apothecaryChina       db_column: apothecary_china
     */
	@Length(max=200)
	private java.lang.String apothecaryChina;
	  /**
     * fileNumber       db_column: file_number
     */
	@Length(max=200)
	private java.lang.String fileNumber;
	//columns END


	public DrugSellUnit(){
	}

	public DrugSellUnit(
		java.lang.Integer drugSellUnitId
	){
		this.drugSellUnitId = drugSellUnitId;
	}



	public void setDrugSellUnitId(java.lang.Integer value) {
		this.drugSellUnitId = value;
	}

	@Id	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "drug_sell_unit_id", unique = true, nullable = false, insertable = true, updatable = true, length = 10)
	public java.lang.Integer getDrugSellUnitId() {
		return this.drugSellUnitId;
	}

	@Column(name = "drug_sell_unit_prepare_id", unique = false, nullable = true, insertable = true, updatable = true, length = 10)
	public java.lang.Integer getDrugSellUnitPrepareId() {
		return this.drugSellUnitPrepareId;
	}

	public void setDrugSellUnitPrepareId(java.lang.Integer value) {
		this.drugSellUnitPrepareId = value;
	}

	@Column(name = "zone_id", unique = false, nullable = true, insertable = true, updatable = true, length = 10)
	public java.lang.Integer getZoneId() {
		return this.zoneId;
	}

	public void setZoneId(java.lang.Integer value) {
		this.zoneId = value;
	}

	@Column(name = "unit_name", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getUnitName() {
		return this.unitName;
	}

	public void setUnitName(java.lang.String value) {
		this.unitName = value;
	}

	@Column(name = "regist_address", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getRegistAddress() {
		return this.registAddress;
	}

	public void setRegistAddress(java.lang.String value) {
		this.registAddress = value;
	}

	@Column(name = "artificial_person", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getArtificialPerson() {
		return this.artificialPerson;
	}

	public void setArtificialPerson(java.lang.String value) {
		this.artificialPerson = value;
	}

	@Column(name = "unit_principal", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getUnitPrincipal() {
		return this.unitPrincipal;
	}

	public void setUnitPrincipal(java.lang.String value) {
		this.unitPrincipal = value;
	}

	@Column(name = "quality_principal", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getQualityPrincipal() {
		return this.qualityPrincipal;
	}

	public void setQualityPrincipal(java.lang.String value) {
		this.qualityPrincipal = value;
	}

	@Column(name = "apothecary", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getApothecary() {
		return this.apothecary;
	}

	public void setApothecary(java.lang.String value) {
		this.apothecary = value;
	}

	@Column(name = "sell_mode", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getSellMode() {
		return this.sellMode;
	}

	public void setSellMode(java.lang.String value) {
		this.sellMode = value;
	}

	@Column(name = "sell_area", unique = false, nullable = true, insertable = true, updatable = true, length = 500)
	public java.lang.String getSellArea() {
		return this.sellArea;
	}

	public void setSellArea(java.lang.String value) {
		this.sellArea = value;
	}

	@Column(name = "storage_address", unique = false, nullable = true, insertable = true, updatable = true, length = 500)
	public java.lang.String getStorageAddress() {
		return this.storageAddress;
	}

	public void setStorageAddress(java.lang.String value) {
		this.storageAddress = value;
	}

	@Column(name = "licence_code", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getLicenceCode() {
		return this.licenceCode;
	}

	public void setLicenceCode(java.lang.String value) {
		this.licenceCode = value;
	}

	@Transient
	public String getUnitFoundDateString() {
		return DateConvertUtils.format(getUnitFoundDate(), FORMAT_UNIT_FOUND_DATE);
	}
	public void setUnitFoundDateString(String value) {
		setUnitFoundDate(DateConvertUtils.parse(value, FORMAT_UNIT_FOUND_DATE,java.util.Date.class));
	}

	@Column(name = "unit_found_date", unique = false, nullable = true, insertable = true, updatable = true, length = 23)
	public java.util.Date getUnitFoundDate() {
		return this.unitFoundDate;
	}

	public void setUnitFoundDate(java.util.Date value) {
		this.unitFoundDate = value;
	}

	@Transient
	public String getLicenceGiveDateString() {
		return DateConvertUtils.format(getLicenceGiveDate(), FORMAT_LICENCE_GIVE_DATE);
	}
	public void setLicenceGiveDateString(String value) {
		setLicenceGiveDate(DateConvertUtils.parse(value, FORMAT_LICENCE_GIVE_DATE,java.util.Date.class));
	}

	@Column(name = "licence_give_date", unique = false, nullable = true, insertable = true, updatable = true, length = 23)
	public java.util.Date getLicenceGiveDate() {
		return this.licenceGiveDate;
	}

	public void setLicenceGiveDate(java.util.Date value) {
		this.licenceGiveDate = value;
	}

	@Transient
	public String getLicenceExpiryDateString() {
		return DateConvertUtils.format(getLicenceExpiryDate(), FORMAT_LICENCE_EXPIRY_DATE);
	}
	public void setLicenceExpiryDateString(String value) {
		setLicenceExpiryDate(DateConvertUtils.parse(value, FORMAT_LICENCE_EXPIRY_DATE,java.util.Date.class));
	}

	@Column(name = "licence_expiry_date", unique = false, nullable = true, insertable = true, updatable = true, length = 23)
	public java.util.Date getLicenceExpiryDate() {
		return this.licenceExpiryDate;
	}

	public void setLicenceExpiryDate(java.util.Date value) {
		this.licenceExpiryDate = value;
	}

	@Column(name = "gsp_code", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getGspCode() {
		return this.gspCode;
	}

	public void setGspCode(java.lang.String value) {
		this.gspCode = value;
	}

	@Transient
	public String getGspGiveDateString() {
		return DateConvertUtils.format(getGspGiveDate(), FORMAT_GSP_GIVE_DATE);
	}
	public void setGspGiveDateString(String value) {
		setGspGiveDate(DateConvertUtils.parse(value, FORMAT_GSP_GIVE_DATE,java.util.Date.class));
	}

	@Column(name = "gsp_give_date", unique = false, nullable = true, insertable = true, updatable = true, length = 23)
	public java.util.Date getGspGiveDate() {
		return this.gspGiveDate;
	}

	public void setGspGiveDate(java.util.Date value) {
		this.gspGiveDate = value;
	}

	@Transient
	public String getGspExpiryDateString() {
		return DateConvertUtils.format(getGspExpiryDate(), FORMAT_GSP_EXPIRY_DATE);
	}
	public void setGspExpiryDateString(String value) {
		setGspExpiryDate(DateConvertUtils.parse(value, FORMAT_GSP_EXPIRY_DATE,java.util.Date.class));
	}

	@Column(name = "gsp_expiry_date", unique = false, nullable = true, insertable = true, updatable = true, length = 23)
	public java.util.Date getGspExpiryDate() {
		return this.gspExpiryDate;
	}

	public void setGspExpiryDate(java.util.Date value) {
		this.gspExpiryDate = value;
	}

	@Column(name = "is_logout", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getIsLogout() {
		return this.isLogout;
	}

	public void setIsLogout(java.lang.String value) {
		this.isLogout = value;
	}

	@Column(name = "logout_date", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getLogoutDate() {
		return this.logoutDate;
	}

	public void setLogoutDate(java.lang.String value) {
		this.logoutDate = value;
	}

	@Column(name = "mobel_phone", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getMobelPhone() {
		return this.mobelPhone;
	}

	public void setMobelPhone(java.lang.String value) {
		this.mobelPhone = value;
	}

	@Column(name = "phone", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getPhone() {
		return this.phone;
	}

	public void setPhone(java.lang.String value) {
		this.phone = value;
	}

	@Column(name = "is_tour_drugstore", unique = false, nullable = true, insertable = true, updatable = true, length = 10)
	public java.lang.Integer getIsTourDrugstore() {
		return this.isTourDrugstore;
	}

	public void setIsTourDrugstore(java.lang.Integer value) {
		this.isTourDrugstore = value;
	}

	@Column(name = "is_sell_chinese_medicine", unique = false, nullable = true, insertable = true, updatable = true, length = 10)
	public java.lang.Integer getIsSellChineseMedicine() {
		return this.isSellChineseMedicine;
	}

	public void setIsSellChineseMedicine(java.lang.Integer value) {
		this.isSellChineseMedicine = value;
	}

	@Column(name = "is_OTC_unit", unique = false, nullable = true, insertable = true, updatable = true, length = 10)
	public java.lang.Integer getIsOtcunit() {
		return this.isOtcunit;
	}

	public void setIsOtcunit(java.lang.Integer value) {
		this.isOtcunit = value;
	}

	@Column(name = "is_resend_license", unique = false, nullable = true, insertable = true, updatable = true, length = 10)
	public java.lang.Integer getIsResendLicense() {
		return this.isResendLicense;
	}

	public void setIsResendLicense(java.lang.Integer value) {
		this.isResendLicense = value;
	}

	@Column(name = "is_stop", unique = false, nullable = true, insertable = true, updatable = true, length = 10)
	public java.lang.Integer getIsStop() {
		return this.isStop;
	}

	public void setIsStop(java.lang.Integer value) {
		this.isStop = value;
	}

	@Column(name = "apothecary2", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getApothecary2() {
		return this.apothecary2;
	}

	public void setApothecary2(java.lang.String value) {
		this.apothecary2 = value;
	}

	@Column(name = "apothecary_china", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getApothecaryChina() {
		return this.apothecaryChina;
	}

	public void setApothecaryChina(java.lang.String value) {
		this.apothecaryChina = value;
	}

	@Column(name = "file_number", unique = false, nullable = true, insertable = true, updatable = true, length = 200)
	public java.lang.String getFileNumber() {
		return this.fileNumber;
	}

	public void setFileNumber(java.lang.String value) {
		this.fileNumber = value;
	}

	private Set archiveCatalogs = new HashSet(0);
	public void setArchiveCatalogs(Set<ArchiveCatalog> archiveCatalog){
		this.archiveCatalogs = archiveCatalog;
	}

	@OneToMany(cascade = { CascadeType.MERGE }, fetch = FetchType.LAZY, mappedBy = "drugSellUnit")
	public Set<ArchiveCatalog> getArchiveCatalogs() {
		return archiveCatalogs;
	}
	
	private Set resendLicLogs = new HashSet(0);
	public void setResendLicLogs(Set<ResendLicLog> resendLicLog){
		this.resendLicLogs = resendLicLog;
	}

	@OneToMany(cascade = { CascadeType.MERGE }, fetch = FetchType.LAZY, mappedBy = "drugSellUnit")
	public Set<ResendLicLog> getResendLicLogs() {
		return resendLicLogs;
	}

	private Set gspInfos = new HashSet(0);
	public void setGspInfos(Set<GspInfo> gspInfo){
		this.gspInfos = gspInfo;
	}

	@OneToMany(cascade = { CascadeType.MERGE }, fetch = FetchType.LAZY, mappedBy = "drugSellUnit")
	public Set<GspInfo> getGspInfos() {
		return gspInfos;
	}

	private Set basicDrugs = new HashSet(0);
	public void setBasicDrugs(Set<BasicDrug> basicDrug){
		this.basicDrugs = basicDrug;
	}

	@OneToMany(cascade = { CascadeType.MERGE }, fetch = FetchType.LAZY, mappedBy = "drugSellUnit")
	public Set<BasicDrug> getBasicDrugs() {
		return basicDrugs;
	}

	private Set drugSellUnitModifyLogs = new HashSet(0);
	public void setDrugSellUnitModifyLogs(Set<DrugSellUnitModifyLog> drugSellUnitModifyLog){
		this.drugSellUnitModifyLogs = drugSellUnitModifyLog;
	}

	@OneToMany(cascade = { CascadeType.MERGE }, fetch = FetchType.LAZY, mappedBy = "drugSellUnit")
	public Set<DrugSellUnitModifyLog> getDrugSellUnitModifyLogs() {
		return drugSellUnitModifyLogs;
	}

	private Set superviseInfos = new HashSet(0);
	public void setSuperviseInfos(Set<SuperviseInfo> superviseInfo){
		this.superviseInfos = superviseInfo;
	}

	@OneToMany(cascade = { CascadeType.MERGE }, fetch = FetchType.LAZY, mappedBy = "drugSellUnit")
	public Set<SuperviseInfo> getSuperviseInfos() {
		return superviseInfos;
	}

	private Set sampleInfos = new HashSet(0);
	public void setSampleInfos(Set<SampleInfo> sampleInfo){
		this.sampleInfos = sampleInfo;
	}

	@OneToMany(cascade = { CascadeType.MERGE }, fetch = FetchType.LAZY, mappedBy = "drugSellUnit")
	public Set<SampleInfo> getSampleInfos() {
		return sampleInfos;
	}

	private DrugSellUnitPrepare drugSellUnitPrepare;
	public void setDrugSellUnitPrepare(DrugSellUnitPrepare drugSellUnitPrepare){
		this.drugSellUnitPrepare = drugSellUnitPrepare;
	}

	@ManyToOne(cascade = {}, fetch = FetchType.LAZY)
	@JoinColumns({
		@JoinColumn(name = "drug_sell_unit_prepare_id",nullable = false, insertable = false, updatable = false)
	})
	public DrugSellUnitPrepare getDrugSellUnitPrepare() {
		return drugSellUnitPrepare;
	}

	private Zone zone;
	public void setZone(Zone zone){
		this.zone = zone;
	}

	@ManyToOne(cascade = {}, fetch = FetchType.LAZY)
	@JoinColumns({
		@JoinColumn(name = "zone_id",nullable = false, insertable = false, updatable = false)
	})
	public Zone getZone() {
		return zone;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
			.append("DrugSellUnitId",getDrugSellUnitId())
			.append("DrugSellUnitPrepareId",getDrugSellUnitPrepareId())
			.append("ZoneId",getZoneId())
			.append("UnitName",getUnitName())
			.append("RegistAddress",getRegistAddress())
			.append("ArtificialPerson",getArtificialPerson())
			.append("UnitPrincipal",getUnitPrincipal())
			.append("QualityPrincipal",getQualityPrincipal())
			.append("Apothecary",getApothecary())
			.append("SellMode",getSellMode())
			.append("SellArea",getSellArea())
			.append("StorageAddress",getStorageAddress())
			.append("LicenceCode",getLicenceCode())
			.append("UnitFoundDate",getUnitFoundDate())
			.append("LicenceGiveDate",getLicenceGiveDate())
			.append("LicenceExpiryDate",getLicenceExpiryDate())
			.append("GspCode",getGspCode())
			.append("GspGiveDate",getGspGiveDate())
			.append("GspExpiryDate",getGspExpiryDate())
			.append("IsLogout",getIsLogout())
			.append("LogoutDate",getLogoutDate())
			.append("MobelPhone",getMobelPhone())
			.append("Phone",getPhone())
			.append("IsTourDrugstore",getIsTourDrugstore())
			.append("IsSellChineseMedicine",getIsSellChineseMedicine())
			.append("IsOtcunit",getIsOtcunit())
			.append("IsResendLicense",getIsResendLicense())
			.append("IsStop",getIsStop())
			.toString();
	}

	public int hashCode() {
		return new HashCodeBuilder()
			.append(getDrugSellUnitId())
			.toHashCode();
	}

	public boolean equals(Object obj) {
		if(obj instanceof DrugSellUnit == false) return false;
		if(this == obj) return true;
		DrugSellUnit other = (DrugSellUnit)obj;
		return new EqualsBuilder()
			.append(getDrugSellUnitId(),other.getDrugSellUnitId())
			.isEquals();
	}
	@Transient
	public java.lang.String getIsSellChineseMedicineString() {
		return isSellChineseMedicine==null?"":(isSellChineseMedicine==1?"是":"否");
	}
	@Transient
	public java.lang.String getIsOtcunitString() {
		return isOtcunit==null?"":(isOtcunit==1?"是":"否");
	}
	@Transient
	public java.lang.String getIsTourDrugstoreString() {
		return isTourDrugstore==null?"":(isTourDrugstore==1?"是":"否");
	}
	@Transient
	public java.lang.String getIsResendLicenseString() {
		return isResendLicense==null?"":(isResendLicense==1?"是":"否");
	}
	@Transient
	public java.lang.String getIsStopString() {
		return isStop==null?"":(isStop==1?"是":"否");
	}
}

